@import '@common/styles/index.scss';

@mixin flex() {
  display: flex;
}

.wrapper{
  background: $white;
  border-top: 1px solid $border-color;
}

.title {
  padding: 16px 16px 0 16px;
  font-size: 14px;
  color: $text-color-primary;
}

.product {
  margin: 24px 18px 16px;
  @include flex;

  &-type {
    width: 40px;
    margin-right: 30px;
    @include flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    Text {
      margin-top: 8px;
      font-size: 12px;
      line-height: 12px;
      color: $black;
    }
  }
}

.textarea-container {
  margin: 0 16px;

  .textarea {
    width: 100%;
    height: 141px;
    border-radius: 5px;
    background: $body-bg-color;
    border: 1px solid #eee;
    padding: 8px;
    color: $text-color-primary;
    font-size: 16px;
    text-align: left;
    resize: none;
    box-sizing: border-box;
  }

  .textarea-placeholder {
    font-size: 16px;
    color: $text-color-placeholder;
  }
}

.button-container {
  padding: 8px 16px;
  position: fixed;
  bottom: constant(safe-area-inset-bottom);
  bottom: env(safe-area-inset-bottom);
  width: 100%;
  .button {
    height: 42px;
    border-radius: 5px;
    background: $primary-color;
    font-size: 16px;
    line-height: 42px;
    color: $white;
  }
}
